package com.cym.service.impl;

import com.cym.dto.BookParam;
import com.cym.entity.Book;
import com.cym.mapper.BookMapper;
import com.cym.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {
    @Autowired
    BookMapper bookMapper;

    @Override
    public List<Book> getList(BookParam bookParam) {
        return bookMapper.getList(bookParam);
    }
}
